package com.chartboost.sdk.impl;

import java.util.Iterator;
import java.util.List;
import java.util.Map;

public class bd<T>
{
  private final Map<Class<?>, T> a = bf.c();
  private final Map<Class<?>, T> b = be.a(new a(null));

  public static <T> List<Class<?>> a(Class<T> paramClass)
  {
    return bc.a(paramClass);
  }

  public int a()
  {
    return this.a.size();
  }

  public T a(Class<?> paramClass, T paramT)
  {
    try
    {
      Object localObject2 = this.a.put(paramClass, paramT);
      return localObject2;
    }
    finally
    {
      this.b.clear();
    }
  }

  public T a(Object paramObject)
  {
    return this.b.get(paramObject);
  }

  private final class a
    implements bg<Class<?>, T>
  {
    private a()
    {
    }

    public T a(Class<?> paramClass)
    {
      Iterator localIterator = bd.a(paramClass).iterator();
      while (localIterator.hasNext())
      {
        Class localClass = (Class)localIterator.next();
        Object localObject = bd.a(bd.this).get(localClass);
        if (localObject != null)
          return localObject;
      }
      return null;
    }
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.chartboost.sdk.impl.bd
 * JD-Core Version:    0.6.2
 */